import Mock from 'mockjs'


var employees = Mock.mock({
  'list|5': [{'name': '@cname',
    'age': "@natural(20,40)"}]
})

var express = Mock.mock({
  'list|10': [{'name': '@cname', 'age': "@natural(20,70)",'phone':/\d{5,11}/}]
})
Mock.mock('@datetime')
Mock.mock({
  'phoneNumber': /\d{6,10}/
})
Mock.mock('@county(true)')

Mock.mock('http://test.org/employee/list', 'get', employees.list);
